$OpenBSD: patch-rpm2cpio_c,v 1.1 2001/08/28 19:55:30 naddy Exp $
--- rpm2cpio.c.orig	Tue Aug 14 17:17:09 2001
+++ rpm2cpio.c	Tue Aug 14 17:17:42 2001
@@ -55,7 +55,7 @@ int main(int argc, char **argv)
     }
 
     gzdi = Fdopen(fdi, rpmio_flags);	/* XXX gzdi == fdi */
-    if (gzdi == NULL || Ferror(gzdi)) {
+    if (gzdi == NULL) {
 	fprintf(stderr, _("cannot re-open payload: %s\n"), Fstrerror(gzdi));
 	exit(EXIT_FAILURE);
     }
